//
// Created by wzr on 2021/5/9.
//

#include "Date.h"

inline int year(const Date& x) {return x.getYear();}
inline int month(const Date& x) {return x.getMonth();}
inline int day(const Date& x) {return x.getDay();}
ostream&
operator << (ostream& os, const Date& x)
{
    return os << year(x) << "年" << month(x) << "月" << day(x) << "日";
}